package cn.whuc.scala.basic

object Variable {
  def main(args: Array[String]): Unit = {
    /*
      val 定义不可变变量
      var 定义可变变量
     */
    val name1: String = "root"
    val pass1: String = "111111"

    var name2: String = "admin"
    var pass2: String = "123"

    //    name1 = "whuc"
    name2 = "whmc"

  }

}
